package com.cy.pet.common.service;

import com.cy.pet.common.pojo.Diary;
import com.cy.pet.common.vo.PageResult;

/**
 * @description:
 * @author: LiuXingYu
 * @date: 2021/9/30 15:41
 */
public interface DiaryService {

    PageResult getDiaryListAllPublic(PageResult pageResult);

    Diary getDiaryById(Integer id);

    Integer saveDiary(Diary diary);

    void updateStatus(Diary diary);

    void updateDiary(Diary diary);

    void deleteDiaryById(String id);
}
